package git.soulbgm.pojo;

/**
 * 服务器软件或服务状态信息
 *
 * @author SoulBGM
 * @date 2024-04-08
 */
public class ServerSoftwareStatus {

    /**
     * 软件名称
     */
    private String name;

    /**
     * 进程名称
     */
    private String processName;

    /**
     * 0不进行端口检查 其它则进行检查
     */
    private Integer checkPort = 0;

    /**
     * 工作目录
     */
    private String workDirectory = "";

    /**
     * 服务状态
     */
    private Boolean status = false;

    /**
     * 服务启动时间
     */
    private Long startupTime = 0L;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getProcessName() {
        return processName;
    }

    public void setProcessName(String processName) {
        this.processName = processName;
    }

    public Integer getCheckPort() {
        return checkPort;
    }

    public void setCheckPort(Integer checkPort) {
        this.checkPort = checkPort;
    }

    public String getWorkDirectory() {
        return workDirectory;
    }

    public void setWorkDirectory(String workDirectory) {
        this.workDirectory = workDirectory;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Long getStartupTime() {
        return startupTime;
    }

    public void setStartupTime(Long startupTime) {
        this.startupTime = startupTime;
    }
}
